package com.ruoyi.zsyh.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 产品安装信息对象 zsyh_parts_qrcode_install
 * 
 * @author yuexl
 * @date 2022-01-13
 */
public class ZsyhPartsQrcodeInstall extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 规格id */
    @Excel(name = "规格id")
    private String attributeId;

    /** 产品id */
    @Excel(name = "产品id")
    private String partsId;

    /** 客户姓名 */
    @Excel(name = "客户姓名")
    private String userName;

    /** 客户手机号 */
    @Excel(name = "客户手机号")
    private String userPhone;

    /** 客户地址 */
    @Excel(name = "客户地址")
    private String userAddress;

    /** 二维码有效期 */
    @Excel(name = "二维码有效期")
    private String installPeriod;

    /** 维修工id */
    @Excel(name = "维修工id")
    private String repairId;

    /** 二维码id */
    @Excel(name = "二维码id")
    private String qrcodeId;

    /** 保质期 */
    @Excel(name = "保质期")
    private String qualityPeriod;

    /** 补助金有效期 */
    @Excel(name = "补助金有效期")
    private String warrantyPeriod;

    /** 补助金金额 */
    @Excel(name = "补助金金额")
    private Long payPrice;

    /** 安装凭证 图片多个用|隔开 */
    private String installImages;

    private String partsName;

    private String attributeName;

    private Date grantsPeriod;

    private String repairName;

    private String repairPhone;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setAttributeId(String attributeId) 
    {
        this.attributeId = attributeId;
    }

    public String getAttributeId() 
    {
        return attributeId;
    }
    public void setPartsId(String partsId) 
    {
        this.partsId = partsId;
    }

    public String getPartsId() 
    {
        return partsId;
    }

    public void setUserAddress(String userAddress) 
    {
        this.userAddress = userAddress;
    }

    public String getUserAddress() 
    {
        return userAddress;
    }
    public void setInstallPeriod(String installPeriod) 
    {
        this.installPeriod = installPeriod;
    }

    public String getInstallPeriod() 
    {
        return installPeriod;
    }
    public void setRepairId(String repairId) 
    {
        this.repairId = repairId;
    }

    public String getRepairId() 
    {
        return repairId;
    }
    public void setQrcodeId(String qrcodeId) 
    {
        this.qrcodeId = qrcodeId;
    }

    public String getQrcodeId() 
    {
        return qrcodeId;
    }
    public void setQualityPeriod(String qualityPeriod) 
    {
        this.qualityPeriod = qualityPeriod;
    }

    public String getQualityPeriod() 
    {
        return qualityPeriod;
    }
    public void setWarrantyPeriod(String warrantyPeriod) 
    {
        this.warrantyPeriod = warrantyPeriod;
    }

    public String getWarrantyPeriod() 
    {
        return warrantyPeriod;
    }
    public void setPayPrice(Long payPrice) 
    {
        this.payPrice = payPrice;
    }

    public Long getPayPrice() 
    {
        return payPrice;
    }
    public void setInstallImages(String installImages) 
    {
        this.installImages = installImages;
    }

    public String getInstallImages() 
    {
        return installImages;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("attributeId", getAttributeId())
            .append("partsId", getPartsId())
            .append("userAddress", getUserAddress())
            .append("installPeriod", getInstallPeriod())
            .append("repairId", getRepairId())
            .append("qrcodeId", getQrcodeId())
            .append("qualityPeriod", getQualityPeriod())
            .append("warrantyPeriod", getWarrantyPeriod())
            .append("payPrice", getPayPrice())
            .append("installImages", getInstallImages())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }

    public String getPartsName() {
        return partsName;
    }

    public void setPartsName(String partsName) {
        this.partsName = partsName;
    }

    public String getAttributeName() {
        return attributeName;
    }

    public void setAttributeName(String attributeName) {
        this.attributeName = attributeName;
    }


    public Date getGrantsPeriod() {
        return grantsPeriod;
    }

    public void setGrantsPeriod(Date grantsPeriod) {
        this.grantsPeriod = grantsPeriod;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getRepairName() {
        return repairName;
    }

    public void setRepairName(String repairName) {
        this.repairName = repairName;
    }

    public String getRepairPhone() {
        return repairPhone;
    }

    public void setRepairPhone(String repairPhone) {
        this.repairPhone = repairPhone;
    }
}
